package com.foreverwin.jzymes.common.mapper;

import com.foreverwin.jzymes.common.domain.CarrierBind;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarrierBindAdviceMapper {

    /**
     * 查询本体绑定中信息
     *
     * @param site
     * @param carrier
     * @return
     */
    public List<CarrierBind> selectCarrierBindOnBind( @Param("site") String site, @Param("carrier") String carrier );

    /**
     * 查询本体解绑记录
     *
     * @param site
     * @param carrier
     * @param itemBo
     * @return
     */
    public CarrierBind selectCarrierUnBind( @Param("site") String site, @Param("carrier") String carrier, @Param("itemBo") String itemBo );
}
